# apps/user/urls.py
from django.urls import path, include
from rest_framework.routers import DefaultRouter

from .views import AuthViewSet, FamilyViewSet

router = DefaultRouter(trailing_slash=False)
router.register(r'auth', AuthViewSet, basename='auth')
router.register(r'family', FamilyViewSet, basename='family')

urlpatterns = [
    path('', include(router.urls)),
]
